package com.ontheroad.device.service;

import java.util.HashMap;

import org.springframework.remoting.service.annotation.RemoteService;

import cn.modoumama.service.base.BaseService;

import com.ontheroad.device.model.CentralDeviceDto;
import com.ontheroad.device.model.DeviceDto;

/**
 * 设备模块业务
 * 
 */
@RemoteService
public interface DeviceTopicService extends BaseService<DeviceDto, String> {

	/**
	 * 添加设备信息
	 * @param centralEntity
	 * @return
	 */
	HashMap<String, Object> insertDeviceList(DeviceDto deviceDto)
			throws Exception;
	/**
	 * 修改设备信息
	 * @param centralEntity
	 * @return
	 */
	HashMap<String, Object> modifyDevice(CentralDeviceDto centralDeviceDto)
			throws Exception;

}
